home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9392 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: aux82.plano.net!user
  2. From: richmond@plano.net (Charles Richmond)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: where to find vt100/102 code?
  5. Date: 10 Mar 1996 05:52:17 GMT
  6. Organization: Canine Organization
  7. Message-ID: <richmond-0903962350000001@aux82.plano.net>
  8. References: <4hd7kf$rrn@suba01.suba.com>
  9. NNTP-Posting-Host: aux82.plano.net
  10.  
  11. In article <4hd7kf$rrn@suba01.suba.com>, alex@proust.suba.com (Alex
  12. Strasheim) wrote:
  13.  
  14. > I need to write a program that can do a watered down vt100/102 emulation,
  15. > and I was wondering if anyone can point me toward existing code, a
  16. > descritption of the spec, etc.
  17. You can always check the Simel archive, but you will probably need the
  18. escape codes that do things like clear the screen, position the cursor,
  19. etc. These can be derived from the terminfo files on a System V Release 4
  20. Unix system. There is an uncompiler for these files know as infocmp. It
  21. will produce a text version of the codes from the termcap entry--and it
  22. will give them in severl different forms. Try the man page for terminfo
  23. for help on interpreting the results of running infocmp. O'Reilly also
  24. publishes a book entitled _Termcap and Terminfo_ which may be helpful.
  25.